package demo3;

public class Money implements Cloneable{
    public double money=9.9;
    @Override
    protected Object clone() throws CloneNotSupportedException {////第一步：重写clone方法
        return super.clone();
    }
}
